<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.*,
                 com.kylin.common.*,
                 com.kylin.common.util.*,
                 com.kylin.module.user.orm.*,
				 com.kylin.module.shop.orm.*,
				 com.kylin.common.dict.orm.Dict,
                 com.kylin.common.paginate.DisplayPage,
                 com.kylin.module.community.orm.Member
				 " %>
<%@ include file="/common/include/taglibs.jsp"%>
<%@ include file="/common/include/dictNames.jsp"%>
<%@ include file="/common/include/pageExpires.jsp"%>
<%@ include file="/common/include/currUserInfo.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>magickylin.com</title>
		<%@ include file="/common/include/css.jsp"%>
	</head>
<%
	// 从登录后的 session 中 获取当前的 member 对象 
  //  Member currMember = (Member) ( session.getAttribute(Constants.CURR_USER) );
  
  	User user = (User)( session.getAttribute(Constants.CURR_USER) );
	Member currMember = user.getMember();

	
    if(currMember!=null){
%>

	<body link=#003366 vlink=#003366>
		<%@ include file="/common/tiles/header.jsp"%>
		<table class="tl05" align="center" cellspacing="0" cellpadding="0" align="left">
			<tr>
				<td width="340" align="center" valign="top">
					<table width="310" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td height="30" class="ms02"> &nbsp;&nbsp;<%=currUser.getName() %><bean:message key="myspace.03" /></td>
						</tr>
					</table>
					<table width="310" border="0" cellspacing="0" cellpadding="0"
						class="ms01">
						<tr>
							<td align="center">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td align="left">
											<img src="/images/mspic01.gif" width="111" height="111" />
										</td>
										<td align="left">
											<table width="100%" border="0" cellspacing="0" cellpadding="0">
												<tr>
													<td height="25">
														<img src="/images/mspic02.gif" width="21" height="14" align="absmiddle"/>
														<a href="/module/community/myspace/message.jsp"></a>
													</td>
												</tr>
												<tr>
													<td height="25">
														<img src="/images/mspic02.gif" width="21" height="14" align="absmiddle"/>
														<a href="/module/community/myspace/"><bean:message key="myspace.04" /></a>
													</td>
												</tr>
												<tr>
													<td height="25">
														<img src="/images/mspic02.gif" width="21" height="14" align="absmiddle" />
														<a href="/module/community/myspace/"><bean:message key="base.50"/></a>
													</td>
												</tr>
												<tr>
													<td height="25">
														<img src="/images/mspic02.gif" width="21" height="14" align="absmiddle" />
														<a href="/module/community/myspace/info.jsp"><bean:message key="myspace.05" /></a>
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
								<table width="100%" border="0" cellspacing="2" cellpadding="0">
									<tr align="left">
										<td width="70"> <b><bean:message key="base.51" />:</b> </td>
										<td><%=UTool.getCountryName(currUser.getCountry(),sessionLocale) %></td>
									</tr>
									<tr align="left">
										<td> <b><bean:message key="base.37" />:</b> </td>
										<td><%=currMember.getCity() %></td>
									</tr>
									<tr align="left">
										<td> <b><bean:message key="base.32" />:</b> </td>
										<td><%
										    if(currMember.getSex().equals(new Short("1") ))
										       // out.print("男");
										        out.print("<bean:message key='base.33'/>");
										    else
										        //out.print("女");
										        out.print("<bean:message key='base.34'/>");
										%></td>
									</tr>
									<tr align="left">
										<td> <b><bean:message key="base.17"/>:</b> </td>
										<td><%=UTool.getCountryName(currMember.getCountry(),sessionLocale) %></td>
									</tr>
									<tr align="left">
										<td> <b><bean:message key="myspace.06"/>:</b> </td>
										<td><%=currMember.getBirthday() %></td>
									</tr>
									<tr align="left">
										<td colspan="2">
											<b><bean:message key="myspace.07"/>:<br /> </b>I am chinese and come from BJ... I am
											chinese and come from BJ... I am chinese and come from BJ...
											I am chinese and come from BJ...
										</td>
									</tr>
								</table>
								<br />
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td height="30" class="ms02">
											&nbsp;&nbsp;Erikalee's Watchlist
										</td>
										<td align="right"><bean:message key="base.52" />&nbsp;&nbsp; </td>
									</tr>
									<tr>
										<td height="1" colspan="2" bgcolor="CDCDCD"></td>
									</tr>
								</table>
								<br />
				<!-- ------------------------  -->				
								<table width="300" border="0" cellspacing="2" cellpadding="2">
									<%
									    for(int i=0;i<4;i++){
									%>
									<tr>
										<td width="50" align="center" valign="top">
											<img src="/images/mspic04.gif" width="50" height="50" />
										</td>
										<td align="left" valign="top">
											<a href="myspace.htm" target="_blank"> zhouzijing</a>
											<br />
											<bean:message key="base.53"/> <%=(i+1) %> <bean:message key="myspace.08"/>。。。。。。
										</td>
										<td width="20" align="center" valign="top">
											<a href="#"><br/>
											   <img src="/images/trash.gif" width="13" height="13" border="0" />
											</a>
										</td>
									</tr>
									<%
									    }
									%>
								</table>
								
								 
							</td>
						</tr>
					</table>
				</td>
				<td align="center" valign="top">

					<decorator:body />


				</td>
			</tr>
		</table>

		<%@ include file="/common/tiles/footer.jsp"%>

	</body>
	<%
		}
	 %>
</html>
